package cn.dengta.webapp.push.dto;

import cn.dengta.webapp.base.vo.AbstractVO;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class GroupVipDTO extends AbstractVO<Void> {

	/** 管理员用户id */
	private Long userId;
	/** 消息标题 */
	private String title;
	/** 消息 */
	private String msg;

	public static GroupVipDTO of(Long userId, String title, String msg) {
		GroupVipDTO dto = new GroupVipDTO();
		dto.setUserId(userId);
		dto.setTitle(title);
		dto.setMsg(msg);
		return dto;
	}

}
